aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/mass test client/Commands/Stats/DilationCommand.cs
blob: e6e0a4d27d125ac788f427ac4e3bc33f8b1dffbf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
using System;
using System.Collections.Generic;
using System.Text;
using libsecondlife;
using libsecondlife.Packets;

namespace libsecondlife.TestClient
{
    public class DilationCommand : Command
    {
		public DilationCommand(TestClient testClient)
        {
            Name = "dilation";
            Description = "Shows time dilation for current sim.";
        }

        public override string Execute(string[] args, LLUUID fromAgentID)
        {
            return "Dilation is " + Client.Network.CurrentSim.Dilation.ToString();
        }
    }
}